/**
 * 模板保存对话框组件
 */
import React from 'react';
import { Modal, Form, Input, Select } from 'antd';
import './style.css';

export const TemplateSaveDialog: React.FC = () => {
  return (
    <Modal title="保存为模板" open={false}>
      <Form layout="vertical">
        <Form.Item label="模板名称" name="name">
          <Input placeholder="请输入模板名称" />
        </Form.Item>
        <Form.Item label="模板类型" name="type">
          <Select placeholder="选择模板类型" />
        </Form.Item>
        <Form.Item label="模板描述" name="description">
          <Input.TextArea rows={3} placeholder="请输入模板描述" />
        </Form.Item>
      </Form>
    </Modal>
  );
};
